{layout name="layout" /}

<div class="row">

    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">求职列表</div>
            <div class="panel-body">                
			<!--<div class="row">
                    <div class="col-sm-12">
                        <a href="{:url('admin/apply/add')}" class="btn btn-success">添加</a>
                    </div>
                </div>-->
                <div class="table-responsive">
                    <table class="table  table-bordered table-hover">
                        <tr class="active">                            
                            <th>姓名</th>
                            <th>身份证号</th>
                            <th>电话</th>
                            <th>专业</th>
                            <th>学校</th>
                            <th>应聘职位</th>                            
                            <th>沟通状态</th>
                            <!--<th>备注</th>-->
                            <th>操作</th>                           
                        </tr>
                        {volist name="employ" id="em"}
                        <tr>                            
                            <td class="text-left">{$em.link_man_name}</td>
                            <td>{$em.id_number}</td>
                            <td>{$em.phone_number}</td>
                            <td>{$em.school_major}</td>
                            <td>{$em.school_name}</td>
                            <td>销售经理</td>                                                   
                            <td>
               				<form id="add" action="{:url('admin/apply/add')}" class="form-inline ajax-form" method="post" name="apply" onsubmit="return add();">                           
								<div class="form-group">
									
									<label for="inputstatus"></label>
									<select name="phone_res" id="inputphone_res" class="form-control" >
										{volist name="applyRows" id="vo"}
										<option value="{$vo.contact_id}">{$vo.phone_res}</option>
										{/volist}
									</select>										
									<input id="inputcontact_remark" name="contact_remark" type="text" class="" placeholder="备注"/>	
								<div class="form-group">
			                        <div class="col-sm-offset-3 col-sm-9">
			                            <button type="submit" class="btn btn-success">提交</button>
		
			                        </div>
			                   </div>     	
							</form>
		                        <div class="btn-group">
		                            <button type="button" class="btn btn-warning" title="标题"  data-container="body" data-toggle="popover" data-placement="bottom" data-content="{$em.school_name}">	
												历史记录
		                            </button>
		                        </div>
							</div>                                                       
                        </tr>
                        {/volist}
                    </table>
                </div>  
            </div>
            <div class="panel-footer">
            	{$pages}
            </div>
        </div>
    </div>
</div>

<script>
$(function () { 
	$("[data-toggle='popover']").popover();
});
</script>

<script>
function add(){
	$("#showDataForm").ajaxSubmit(function(message){
		
	});
	
return false;
}
</script>
